<?php

return [
    'menu' => [
        'garbag' => [  /// controller名
            'name' => '功能管理',
            'ico' => '&#xe726;',
            'sub' => [
                'cate' => ['name' => '分类列表', 'uri' => '/garbag/cate', 'show' => true, 'method' => 'get'],  //index 方法名
                'cate_add' => ['name' => '添加/修改', 'uri' => '/garbag/cate_add', 'show' => false, 'method' => 'get|post'],
                'cate_del' => ['name' => '删除', 'uri' => '/garbag/cate_del', 'show' => false, 'method' => 'get|post'],
                'cateson' => ['name' => '子分类列表', 'uri' => '/garbag/cateson', 'show' => false, 'method' => 'get'],  //index 方法名
                'cateson_add' => ['name' => '添加/修改', 'uri' => '/garbag/cateson_add', 'show' => false, 'method' => 'get|post'],
                'cateson_del' => ['name' => '删除', 'uri' => '/garbag/cateson_del', 'show' => false, 'method' => 'get|post'],
                'catesonsort' => ['name' => '子分类排序', 'uri' => '/garbag/catesonsort', 'show' => false, 'method' => 'post|get'],  //index 方法名
                'areaprice' => ['name' => '项目设置', 'uri' => '/garbag/areaprice', 'show' => true, 'method' => 'get'],  //index 方法名
                'areapricesort' => ['name' => '项目排序', 'uri' => '/garbag/areapricesort', 'show' => false, 'method' => 'post|get'],  //index 方法名
                'areaprice_add' => ['name' => '添加/修改', 'uri' => '/garbag/areaprice_add', 'show' => false, 'method' => 'get|post'],
                'areaprice_del' => ['name' => '删除', 'uri' => '/garbag/areaprice_del', 'show' => false, 'method' => 'get|post'],
                'order' => ['name' => '订单管理', 'uri' => '/garbag/order', 'show' => true, 'method' => 'get'],  //index 方法名
                'orderdetail' => ['name' => '订单详情', 'uri' => '/garbag/orderdetail', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'order_str' => ['name' => '订单状态更改', 'uri' => '/garbag/order_str', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'order_rider' => ['name' => '订单指派家政', 'uri' => '/garbag/order_rider', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'parapply' => ['name' => '申请合伙人', 'uri' => '/garbag/parapply', 'show' => true, 'method' => 'get'],  //index 方法名
                'parapply_str' => ['name' => '合伙人审核', 'uri' => '/garbag/parapply_str', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'rider_street' => ['name' => '申请家政列表', 'uri' => '/garbag/rider_street', 'show' => true, 'method' => 'get'],  //index 方法名
                'rider_streetstr' => ['name' => '申请街道审核', 'uri' => '/garbag/rider_streetstr', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'rider_del' => ['name' => '删除家政人员', 'uri' => '/garbag/rider_del', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'rider' => ['name' => '家政列表', 'uri' => '/garbag/rider', 'show' => true, 'method' => 'get'],  //index 方法名
                'rider_area' => ['name' => '家政位置', 'uri' => '/garbag/rider_area', 'show' => false, 'method' => 'get'],  //index 方法名
                'rider_edit' => ['name' => '修改密码', 'uri' => '/garbag/rider_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'street_add' => ['name' => '添加家政街道', 'uri' => '/garbag/street_add', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'user' => ['name' => '用户列表', 'uri' => '/garbag/user', 'show' => true, 'method' => 'get'],  //index 方法名
                // 'integrallog' => ['name' => '积分明细', 'uri' => '/garbag/integrallog', 'show' => false, 'method' => 'get'],  //index 方法名
                // 'datas' => ['name' => '添加订单数据', 'uri' => '/garbag/datas', 'show' => true, 'method' => 'get|post'],  //index 方法名
                // 'datas_add' => ['name' => '添加订单数据', 'uri' => '/garbag/datas_add', 'show' => true, 'method' => 'get|post'],  //index 方法名
                'tjlistorder' => ['name' => '推荐人订单列表', 'uri' => '/garbag/tjlistorder', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => true,
        ],
        'admin' => [  /// controller名
            'name' => '账号管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '管理员列表', 'uri' => '/admin/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'input' => ['name' => '添加管理员', 'uri' => '/admin/input', 'show' => false, 'method' => 'get|post'],
                'del' => ['name' => '删除管理员', 'uri' => '/admin/del', 'show' => false, 'method' => 'get|post'],
                'moneylog' => ['name' => '收入明细', 'uri' => '/admin/moneylog', 'show' => false, 'method' => 'get|post'],
                'moneylog' => ['name' => '收入明细', 'uri' => '/admin/moneylog', 'show' => false, 'method' => 'get|post'],
                'money_str' => ['name' => '更改金额', 'uri' => '/admin/money_str', 'show' => false, 'method' => 'post']
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统管理',
            'ico' => '&#xe6ae;',
            'sub' => [
                'config' => ['name' => '系统配置信息', 'uri' => '/system/config', 'show' => true, 'method' => 'get'],  //index 方法名
                'config_edit' => ['name' => '系统配置信息编辑', 'uri' => '/system/config_edit', 'show' => false, 'method' => 'get|post'],
                'banner' => ['name' => '首页Banner', 'uri' => '/system/banner', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'banner_add' => ['name' => '添加/修改', 'uri' => '/system/banner_add', 'show' => false, 'method' => 'get|post'],
                'banner_del' => ['name' => '删除', 'uri' => '/system/banner_del', 'show' => false, 'method' => 'get|post'],
                'annou' => ['name' => '公告|通知', 'uri' => '/system/annou', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'annou_add' => ['name' => '添加/修改', 'uri' => '/system/annou_add', 'show' => false, 'method' => 'get|post'],
                'annou_del' => ['name' => '删除', 'uri' => '/system/annou_del', 'show' => false, 'method' => 'get|post'],
                'news' => ['name' => '协议|文本', 'uri' => '/system/news', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'news_add' => ['name' => '添加/修改', 'uri' => '/system/news_add', 'show' => false, 'method' => 'get|post'],
                'news_del' => ['name' => '删除', 'uri' => '/system/news_del', 'show' => false, 'method' => 'get|post'],
                'message' => ['name' => '问题反馈', 'uri' => '/system/message', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'message_add' => ['name' => '评论回复', 'uri' => '/system/message_add', 'show' => false, 'method' => 'get|post'],
                // 'region' => ['name' => '地址库管理', 'uri' => '/system/region', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                // 'region_add' => ['name' => '添加/修改', 'uri' => '/system/region_add', 'show' => false, 'method' => 'get|post'],
                // 'region_del' => ['name' => '删除', 'uri' => '/system/region_del', 'show' => false, 'method' => 'get|post'],
                // 'exchange' => ['name' => '区域兑换比例', 'uri' => '/system/exchange', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                // 'exchange_add' => ['name' => '添加/修改', 'uri' => '/system/exchange_add', 'show' => false, 'method' => 'get|post'],
                // 'exchange_del' => ['name' => '删除', 'uri' => '/system/exchange_del', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true, //是否打开这个功能
        ]
    ]
];
